#ifndef MYTOOL_H
#define MYTOOL_H

#include <QByteArray>
struct node
{
    int x;
    int y;
    int up;
    int down;
    int left;
    int right;
    char name[50];
    char desc[1000];
};

struct gjlx
{
    int x;
    int y;
    int status;
};

struct pathNode
{
    int x;
    int y;
};

class MyTool
{
public:
    MyTool();
    ~MyTool();
    node *getAllData();
    gjlx *getAllGJnode();
    node *place;
    gjlx *gjnode;
    bool isDigitStr(QString src);
    char *style;
    void readStyle();
};

#endif // MYTOOL_H
